package com.erms.bean;

/**
 * Homework entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Homework implements java.io.Serializable {

	// Fields

	private Integer		id;
	private Task		task;
	private User		user;
	private FileInfo	fileInfo;
	private String		content;
	private String		pass;
	private Float		score;
	private String		evaluation;
	private String		note;
	private Integer		time;

	// Constructors

	/** default constructor */
	public Homework() {

	}

	/** minimal constructor */
	public Homework(Task task, User user) {

		this.task = task;
		this.user = user;
	}

	/** full constructor */
	public Homework(Task task, User user, FileInfo fileInfo, String content,
			String pass, Float score, String evaluation, String note,
			Integer time) {

		this.task = task;
		this.user = user;
		this.fileInfo = fileInfo;
		this.content = content;
		this.pass = pass;
		this.score = score;
		this.evaluation = evaluation;
		this.note = note;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {

		return this.id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public Task getTask() {

		return this.task;
	}

	public void setTask(Task task) {

		this.task = task;
	}

	public User getUser() {

		return this.user;
	}

	public void setUser(User user) {

		this.user = user;
	}

	public FileInfo getFileInfo() {

		return this.fileInfo;
	}

	public void setFileInfo(FileInfo fileInfo) {

		this.fileInfo = fileInfo;
	}

	public String getContent() {

		return this.content;
	}

	public void setContent(String content) {

		this.content = content;
	}

	public String getPass() {

		return this.pass;
	}

	public void setPass(String pass) {

		this.pass = pass;
	}

	public Float getScore() {

		return this.score;
	}

	public void setScore(Float score) {

		this.score = score;
	}

	public String getEvaluation() {

		return this.evaluation;
	}

	public void setEvaluation(String evaluation) {

		this.evaluation = evaluation;
	}

	public String getNote() {

		return this.note;
	}

	public void setNote(String note) {

		this.note = note;
	}

	public Integer getTime() {

		return this.time;
	}

	public void setTime(Integer time) {

		this.time = time;
	}

}
